//
//  LHAccount.h
//  OCSinaWeibo
//
//  Created by LiHong on 15/11/2.
//  Copyright © 2015年 LiHong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LHAccount : NSObject
/// 用户登录信息
+ (instancetype)shareAccount;


/// 用于调用access_token，接口获取授权后的access token
@property (nonatomic,copy)NSString *access_token;

/// access_token的生命周期
@property (nonatomic,copy)NSString *expires_in;

/// 当前授权用户的UID
@property (nonatomic,copy)NSString *uid;


/// 友好显示名称
@property (nonatomic,copy)NSString *name;

/// 用户头像地址（大图），180×180像素
@property (nonatomic,copy)NSString *avatar_large;

/// 用户过期日期
@property (nonatomic,copy)NSString *expires_date;
/// 保存用户数据到沙盒中
- (void)saveAccountToSandBox;
/// 是否登录
- (BOOL)isLogin;
@end
